home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
p22v12.zip
/
FORMAT.P22
< prev
next >
Wrap
Text File
|
1991-05-12
|
841b
|
22 lines
; Make format bleep twice when finished:
; Execute as
; C:\DOS>patch22 @format.p22
;
;
format.com *1?another (Y/N)\??another Y/N\?\x7\x7?
;
; this is achieved by replacing the text
; another (Y/N)?
; with
; another Y/N?bb (where b stands for the bleep)
; Note:
; - The new text must have the same length as the old text.
; (these are null-terminated strings, and the ending \0 must not be
; overwritten).
; - The bleep is \x7 (hexadecimal 7, which is decimal 7).
; - The ? character in the text is written as \?, otherwise it would
; have been interpreted as the end of the text.
; - Were the patched to be performed on the command line, it would
; have to be enclosed in double quotes, to make it into one string:
; C:\DOS>patch22 format.com "*1?another (Y/N)\??another Y/N\?\x7\x7?"